﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel;
using System.Web.Mvc;

namespace ControlePonto.Models
{
    
    [System.ComponentModel.DataAnnotations.MetadataType(typeof(TipoRegistroMetaData))]
    [Bind(Exclude="ID")]
    public partial class TipoRegistro
    {
        public class TipoRegistroMetaData
        {
            [DisplayName("Descrição")]
            [StringLength(200)]
            [Required]
            public string Descricao { get; set; }

            [DisplayName("Código")]
            [Required]
            [System.ComponentModel.DataAnnotations.Range(0, 4)]
            public int Codigo { get; set; }
        }
    }
}